package com.tangyuan.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tangyuan.model.activity.Enroll;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description: enroll_record
 * @Author: jeecg-boot
 * @Date:   2024-03-20
 * @Version: V1.0
 */
@Mapper
public interface EnrollMapper extends BaseMapper<Enroll> {

    List<Enroll> selectByActivityIdUserId(Integer activityId, Integer userId);

    List<Enroll> selectByUserActivityIds(List<Integer> userActivityIdsInt, Long userId);

    Enroll selectByOrderNo(String orderNo);
}
